ISimpleWorkQueue<T>
Assembly: ServiceStack.Redis.dll
View Source
Declaration
public interface ISimpleWorkQueue<T> : IDisposable where T : class
Methods
Enqueue(T)
Enqueue item
View Source
Declaration
void Enqueue(T workItem)
Parameters
Type | Name |
---|---|
<T> | workItem |
Dequeue(Int32)
Dequeue up to maxBatchSize items from queue
View Source
Declaration
IList<T> Dequeue(int maxBatchSize)
Returns
System.Collections.Generic.IList<<T>>
Parameters
Type | Name |
---|---|
System.Int32 | maxBatchSize |